package com.longdaji.decoration.ui.login.forgetPassword;

import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;

/**
 * Created by Kanade on 2018/3/12 0012.
 */

public interface ForgetPasswordContract {
    interface IView extends BaseView {
        void showSendVerification(boolean isSuccess);

        void showTelephoneVerifyFailed();

        void goPasswordLogin();

        void calculateTime();

        void showCodeVerifyFailed();

        void showIllegalTelephone();

        void showHidePassword(boolean isHidePassword);

        void goMainByUsername();

    }

    interface IPresenter extends BasePresenter<IView> {
        void onGetVerificationCodeClick(String telephone);

        void onConfirmClick(String telephone, String password, String code);

        void onHidePasswordClick(boolean isPasswordHidden);

    }
}
